package ar.edu.unlam.tpfinal.service.exceptions;

import ar.edu.unlam.tpfinal.BaseException;
import ar.edu.unlam.tpfinal.persistence.exceptions.PersistenceExceptionWrapper;

@SuppressWarnings("serial")
public class ServiceException extends BaseException {
	
	public ServiceException(PersistenceExceptionWrapper ex) {
		super(ex.getMessage(), ex);
	}

	public ServiceException(String message) {
		super(message);
	}

	public ServiceException(String message, String log) {
		super(message, log);
	}
	
	public ServiceException(String message, Throwable cause) {
		super(message, cause);
	}

	public ServiceException(String message, Throwable cause, String log) {
		super(message, cause, log);
	}
	
}
